package com.dianjing.dianqun.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dianjing.dianqun.common.base.CrudService;
import com.dianjing.dianqun.dao.ChannelMapper;
import com.dianjing.dianqun.model.Channel;

/**
 * @date : 2017年10月19日
 * 
 * @author: baoyongtao
 * 
 * @see :
 * 
 */
@Service
@Transactional
public class ChannelService extends CrudService<ChannelMapper, Channel> {

	@Autowired
	private ChannelMapper channelMapper;

	public List<Channel> selectBySiteId(Integer siteId) {
		return channelMapper.selectBySiteId(siteId);
	}
}
